<template>
    <div>
        <ImgDrawer :imgUrl="imgUrl"></ImgDrawer>
        <TextCont :title="synopsis.title" :cont="synopsis.content"></TextCont>
    </div>
</template>
<script>
import ImgDrawer from '@/components/aboutus/ImgDrawer'
import TextCont from '@/components/aboutus/TextCont'
export default {
    components:{
        ImgDrawer,
        TextCont
    },
    data(){
        return{
            imgUrl:'',
            synopsis:'',
        }
    },
    mounted () {
        this.apiSynopsis();
    },

    methods: {
        // 请求协会章程数据
        async apiSynopsis(){
            let {data} = await this.https.get(this.api.apiSynopsis);
            this.imgUrl = data.img;
            this.synopsis = data.synopsis;
        }
    }
}
</script>
<style lang="less" scoped>

</style>


